Repository navigation
Run progress: masks counter reaches N of N; stray docstring (follow-up of #567) - #572
Merged
Merged
Conversation
…ring back The mask header check reported "done of N" before each mask and nothing after the last, so the run's wait stopped at N-1 of N. It now also reports (N, N, "") after the last mask. What is read and recorded is unchanged. The docstring of PREPARING had been separated from it by COUNTED_PHASES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
guijacquemet
marked this pull request as ready for review
November 26, 2026 06:31
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
guijacquemet
pushed a commit
that referenced
this pull request
Nov 26, 2026
…0.9.0 release branch One conflict, in CHANGELOG.md: both sides added entries at the top of the v0.9.0 list. Both kept; the #576 entry is in the v0.9.0 section. main is not merged: #568, #572 and the later work stay out of v0.9.0. The notebooks' pins, the RELEASE_CALLS entry and the pin assertion are put back to their pre-pin values (the branch carried commit B's) so that commit B' moves them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small follow-ups from #567. Draft; not for v0.9.0.
Masks counter ended at N-1 of N
The mask header check called
progress(done, total, path)before each mask (done = 0..N-1) and never after the last. Preflight's closing("masks", 1, 1, "")is a placeholder total of 1; the notebook's_checkingignores it unless the wait's total is 1, so the last line drawn was "N-1 of N".Fix:
masks/checks.py::_header_issuesalso reports(N, N, "")after the last mask (documented in the three docstrings that describe the callback). Nothing read, checked or recorded changes. The mask re-pairing callback (remasked) gets the same closing tick.Stray docstring
#567 had no review comments, reviews or nit in its body or issue comments (checked through the REST API), so I could not find the reviewer's wording. The only stray docstring #567 introduced is in
notebook_progress.py: the docstring ofPREPARINGsat afterCOUNTED_PHASES(added in d9bf371), leaving two string literals after the constant. It is moved back underPREPARING. Please say if the nit meant something else.Tests
test_the_masks_counter_reaches_n_of_n(real run with 3 masks, then the notebook wait): fails on main, passes here.test_pairing_the_masks_again_reports_each_maskupdated for the closing tick.zarrnot installed). ruff andtools/check.py --rulesclean. The fulltools/check.pywas not run.Generated by Claude Code